<div class="page-heading">
	<form class="form-horizontal" role="form">
		<div class="form-group">
			<div class="col-md-3 col-sm-12 col-xs-12 form-group">
				<label class="col-lg-5 col-sm-4 control-label">角色名:</label>
				<div class="col-lg-7">
					<input type="text" ng-model="roleNameS" class="form-control" />
				</div>
			</div>
            <div class="col-md-3 col-sm-12 col-xs-12 form-group">
				<input name="" type="button" ng-click="accountRecordDraw()" class="btn btn-info" value="查询"/>&nbsp;&nbsp;
                <input name="" type="button" ng-click="addUser('#adminListModal2')" class="btn btn-success" value="添加"/>
			</div>
		</div>
	</form>
</div>

<div class="wrapper">
	<div class="row">
		<div class="col-sm-12">
			<section class="panel panel-body ">
				<table class="table table-striped responsive-utilities jambo_table" id="roleTable">
					<thead>
					<tr>
                    	<th>ID</th>
						<th>角色名</th>
                        <th>操作</th>
					</tr>
					</thead>
					<tbody>
					</tbody>
				</table>
			</section>
		</div>
	</div>
</div>

<!-- /modal adminListModal -->
<div class="modal fade" id="adminListModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
	<div class="modal-dialog">
		<div class="modal-content">
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
					&times;
				</button>
				<h4 class="modal-title">
					角色信息	
				</h4>
			</div>
			<form id="addAdminForm2" class="cmxform form-horizontal">
				<div class="modal-body">
					<input type="hidden" name="adminId" ng-model="adminId" value=""/>
                    
					<div class="form-group">
						<label class="control-label col-md-3 col-sm-3 col-xs-12">角色名：
						</label>
						<div class="col-md-9 col-sm-9 col-xs-12">
							<input type="text" name="roleName" ng-model="roleName" class="form-control col-md-7 col-xs-12" placeholder="角色名">
						</div>
					</div>

					<div class="form-group" style="margin-bottom: 0">
                    	<label class="control-label col-md-3 col-sm-3 col-xs-12">权限菜单：
						</label>
						<div class="col-md-9 col-sm-12 col-xs-12">
							<div class='add_class' style="padding-left:5px;"><input name='all' ng-click='actionAll($event)' type='checkbox'/> 全选</div>
							<div id="menusp">
								正在加载...
							</div>
						</div>
					</div>
                    
					<div class="form-group">
						<div class="col-lg-offset-3 col-lg-9" id="addAdminFormErrorMsg"></div>
					</div>

				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
					<button type="submit" class="btn btn-success">提交</button>
				</div>
			</form>
		</div><!-- /.modal-content -->
	</div>
</div>
<!-- /modal adminListModal -->



<script src="../myJs/role.js"></script>

